package com.zqwm.fly.http;



import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.*;

@Controller
@Transactional
public class UserAction {
	
	private String rand;// 验证码
	private Object json;

	
	public String login()
	{
		
		return "json";
	}
	
	public String robot() throws UnsupportedEncodingException
	{


		return "json";
	}
	
	/**qq登录*/
	public void qqLogin() throws IOException
	{

	}
	
	/**qq登录重定向
	 * @throws IOException */
	public String AfterQqLoginRedirect() throws IOException{

		return "json";
	}
	/**
	 * 用户注册
	 * @return
	 */
	public String userReg()
	{

		
		return "json";
	}
	
	/**
	 * 退出登录
	 * 
	 * @return
	 */
	public String logout() throws Exception
	{

		return "json";
	}

}
